﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace ICD2AD14
{
   public class Common
    {
       public  string GetUnit(string[] lines)
       {
           foreach (string line in lines)
           {
               if (line.Trim().Length==3)
               {
                   return line.Trim();
               }
           }
           return "mil";
       }
       public enum StackupPlanerIndex
       {
           LayerNo,
           Description,
           LayerName,
           MaterialType,
           DielectricConstant,
           DielectricThinkness,
           CopperThickness
       }
       public static string[] ReadFileText(string path)
       {
        return   System.IO.File.ReadAllLines(path);
       }
    }

}
